-- GENERATED SPELL FOR [Boulderfist Ogre] --


function spell0_2562(pUnit, Event) --@Fist of Stone,Self--
pUnit:FullCastSpellOnTarget(4955,pUnit)
pUnit:RegisterEvent('Sorts_2562', 12000, 1)
end

function Sorts_2562(pUnit, Event)
local choix_sorts_2562 = math.random(0, 0)
if choix_sorts_2562 == 0 then
pUnit:RegisterEvent('spell0_2562', 1, 1)
end
end

function mob2562_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2562', math.random(1500, 3000), 1)
end

function mob2562_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2562_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2562_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2562, 1, 'mob2562_Action')
RegisterUnitEvent(2562, 2, 'mob2562_Leave')
RegisterUnitEvent(2562, 3, 'mob2562_Kill')
RegisterUnitEvent(2562, 4, 'mob2562_Die')
